package com.tansuo365.test1.bean.otherbean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Transient;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class DKufang {
    private Integer id;

    private String kufangmingcheng;

    private Integer p_id;

    private Integer state;

    private String icon;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createtime;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updatetime;

    private Integer w_id; //细分的项目id 一般绑定二级
    private Integer o_id; //one_id 和一级项目id绑定

    @Transient
    private String sort;
    @Transient
    private String order;
}